package com.springcloud.feigndemo

import com.springcloud.feigndemo.config.FeignConfig
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cloud.openfeign.EnableFeignClients
import springfox.documentation.swagger2.annotations.EnableSwagger2

@SpringBootApplication
@EnableSwagger2
@EnableFeignClients(defaultConfiguration = FeignConfig.class)
class FeignDemoApplication {

    static void main(String[] args) {
        SpringApplication.run FeignDemoApplication, args
    }
}
